// src/stores/config.ts
import { defineStore } from "pinia"

interface ColorConfig {
  id: number
  cssCode: string
}

export const useConfigStore = defineStore("config", {
  state: () => ({
    // 固定颜色配置
    colors: [
      { id: 1, cssCode: "#ffffff" },
      { id: 2, cssCode: "#000000" }
    ] as ColorConfig[]
  })
})
